package cn.com.duiba.millionaire.center.api.param;

import cn.com.duiba.thirdparty.enums.CreditsConsumeTypeEnum;

import java.io.Serializable;

/**
 * Created by xiaoxuda on 2018/2/12.
 */
public class CreditsConsumeRequestParam implements Serializable{
    private static final long serialVersionUID = -2472137843159989109L;

    /**
     * 用户ID
     **/
    private Long consumerId;
    /**
     * 用户uid,冗余字段
     **/
    private String partnerUserId;
    /**
     * APPID，冗余字段，用于用户统计
     **/
    private Long appId;
    /**
     * 业务类型
     **/
    private CreditsConsumeTypeEnum bizType;
    /**
     * 业务编码
     **/
    private String bizNo;
    /**
     * 扣积分数
     **/
    private Integer credits;
    /**
     * 用户ip
     **/
    private String envIp;
    /**
     * 开发者扣积分需求参数，非必填
     */
    private String transfer;

    public Long getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(Long consumerId) {
        this.consumerId = consumerId;
    }

    public String getPartnerUserId() {
        return partnerUserId;
    }

    public void setPartnerUserId(String partnerUserId) {
        this.partnerUserId = partnerUserId;
    }

    public Long getAppId() {
        return appId;
    }

    public void setAppId(Long appId) {
        this.appId = appId;
    }

    public CreditsConsumeTypeEnum getBizType() {
        return bizType;
    }

    public void setBizType(CreditsConsumeTypeEnum bizType) {
        this.bizType = bizType;
    }

    public String getBizNo() {
        return bizNo;
    }

    public void setBizNo(String bizNo) {
        this.bizNo = bizNo;
    }

    public Integer getCredits() {
        return credits;
    }

    public void setCredits(Integer credits) {
        this.credits = credits;
    }

    public String getEnvIp() {
        return envIp;
    }

    public void setEnvIp(String envIp) {
        this.envIp = envIp;
    }

    public String getTransfer() {
        return transfer;
    }

    public void setTransfer(String transfer) {
        this.transfer = transfer;
    }
}
